function registerOnClickHandler(id, handler) {
  document.getElementById(id).onclick = handler;
}

function registerOnChangeHandler(id, handler) {
  document.getElementById(id).onchange = handler;
}
